function plot_validate_movement( velxy,movement,task,eva );

if (eva == 1)
    if (task == 1)      
          figure(1)
          hold on,
          plot(velxy(movement.onset:movement.offset))
          title(['Pre  ','FR']);
    else
          figure(2)
          hold on,
          plot(velxy(movement.onset:movement.offset))
          title(['Pre  ','LR']);
    end   
else
    if (task == 1)      
          figure(3)
          hold on,
          plot(velxy(movement.onset:movement.offset))
          title(['Post  ','FR']);
    else
          figure(4)
          hold on,
          plot(velxy(movement.onset:movement.offset))
          title(['Post  ','LR']);
    end   
    
end
